package edu.zju.gis.cky.service.impl;

import edu.zju.gis.cky.dao.TileMapper;
import edu.zju.gis.cky.entity.Tile;
import edu.zju.gis.cky.service.TileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Zhou Yuquan
 * @version 1.0, 2021-12-29
 */
@Service
public class TileServiceImpl implements TileService {

    @Autowired
    private TileMapper tileMapper;

    @Override
    public Tile getMvt(String tableName, Integer x, Integer y, Integer z) {
        return tileMapper.getMvt(tableName, x, y, z);
    }

}
